package day2.线程池;

public class MyTask implements Runnable{
    int i = 0;
    @Override
    public void run() {
        System.out.println("i="+i++);
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
